Demand a right. When the job is executed, the job will be aborted unless the current user has the specified right.
Parent Type: LearningStoreJob
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public void DemandRight ( ) |
rightName
The name of the right to demand
| Exception type | Condition |
| ArgumentNullException | rightName is a null reference. |
| System.InvalidOperationException | The right in rightName doesn't exist in the store. |
Calls DemandRight(rightName, null). See that overload for more details.